<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>转盘抽奖效果</title>
</head>
<body>
    <div>
        <div class="box">
            <img src="../img/8-18抽奖转盘.jpg" id="zp">
            <!-- <img src="../img/8-18抽奖指针.png" id="zz"> -->
        </div>
    </div>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        #box{
            width: 450px;
            height: 450px;
            margin: 100px auto;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
        }
        img{
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }
        .zp{
            animation: zpzd 3s linear infinite;
        }
        @keyframes zpzd{
            0%{transform: rotate(0deg);}
            100%{transform: rotate(360deg);}   
        }
    </style>
</body>
</html>